var tuiwa = require("./tuiwa.js");

App({
  onLaunch: function () {
    tt.getSystemInfo({
      success: (res) => {
        this.globalData.statusBarHeight = res.statusBarHeight
        this.globalData.navBarHeight = 44 + res.statusBarHeight
      }
    })
    let options = tt.getLaunchOptionsSync();
    tt.setStorageSync('options', options);
    
    tuiwa.bindDyWx();
  },
  globalData: {
    statusBarHeight: 0,
    screenHeight: 0
  }
})
